Function Reference

_ArrayDisplay

Displays a 1-dimensional array in a message box.

#include <Array.au3>
_ArrayDisplay ( $avArray, $sTitle )

 

Parameters

$avArray The array to display.
$sTitle The title of the message box.

 

Return Value

Success: Returns 1.
Failure: Returns 0.
@Error: 0 = No error.
1 = $avArray isn't an array.

 

Remarks

None.

 

Related

_ArrayToClip

 

Example


; Ex. #1:

#include <Array.au3>

$asControls = StringSplit( WinGetClassList( "", "" ), @LF )
_ArrayDisplay( $asControls, "Class List of Active Window" )
Exit


; Ex. #2:

#include <Array.au3>

Dim $avArray[8]
$avArray[0] = 7
$avArray[1] = "Brian"
$avArray[2] = "Jon"
$avArray[3] = "Larry"
$avArray[4] = "Christa"
$avArray[5] = "Rick"
$avArray[6] = "Jack"
$avArray[7] = "Gregory"

_ArrayDisplay( $avArray, "_ArrayDisplay() Test" )
Exit